﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace APH.Parl2.Business.Publishing.DocBook
{
    [Serializable]
    [XmlRoot("article", Namespace = "http://docbook.org/ns/docbook")]
    public class Article
    {
        [XmlAttribute("version")]
        public string Version { get; set; }

        public Article()
        {
            Version = "5.0";
            Sections = new List<Section>();
        }

        [XmlElement("info")]
        public Info Info { get; set; }

        [XmlElement("section")]
        public List<Section> Sections { get; set; }
    }
}